package com.yunpeng.dishes.common.vo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * DishesNutrientsVO
 *
 * @author : Moore(hemw)
 * @date : 2020-03-26
 */
public class DishesNutrientsVO implements Serializable {

    /**
     * 菜品记录id
     */
    private Long id;
    /**
     * 菜品编号
     */
    private String code;
    /**
     * 菜品名称
     */
    private String name;
    /**
     * 菜品类别
     * 中餐
     * 西餐
     */
    private String category;
    /**
     * 菜系
     */
    private String type;
    /**
     * 菜品重量
     */
    private BigDecimal weight;
    /**
     * 归属商户
     */
    private Long merchantId;

    /**
     * 商户菜品id
     */
    private Long merchantDishesId;

    /**
     * 食材列表
     */
    private List<DishesFoodVO> dishesFoods;

    /**
     * 营养元素列表
     */
    private List<NutrientsVO> nutrients;

    public DishesNutrientsVO(Long id, String code, String name, String category, String type, BigDecimal weight, Long merchantId, Long merchantDishesId, List<DishesFoodVO> dishesFoods, List<NutrientsVO> nutrients) {
        this.id = id;
        this.code = code;
        this.name = name;
        this.category = category;
        this.type = type;
        this.weight = weight;
        this.merchantId = merchantId;
        this.merchantDishesId = merchantDishesId;
        this.dishesFoods = dishesFoods;
        this.nutrients = nutrients;
    }

    public DishesNutrientsVO() {
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public BigDecimal getWeight() {
        return weight;
    }

    public void setWeight(BigDecimal weight) {
        this.weight = weight;
    }

    public List<DishesFoodVO> getDishesFoods() {
        return dishesFoods;
    }

    public void setDishesFoods(List<DishesFoodVO> dishesFoods) {
        this.dishesFoods = dishesFoods;
    }

    public List<NutrientsVO> getNutrients() {
        return nutrients;
    }

    public void setNutrients(List<NutrientsVO> nutrients) {
        this.nutrients = nutrients;
    }

    public Long getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(Long merchantId) {
        this.merchantId = merchantId;
    }

    public Long getMerchantDishesId() {
        return merchantDishesId;
    }

    public void setMerchantDishesId(Long merchantDishesId) {
        this.merchantDishesId = merchantDishesId;
    }

    @Override
    public String toString() {
        return "DishesNutrientsVO{" +
                "id=" + id +
                ", code='" + code + '\'' +
                ", name='" + name + '\'' +
                ", category='" + category + '\'' +
                ", type='" + type + '\'' +
                ", weight=" + weight +
                ", merchantId=" + merchantId +
                ", merchantDishesId=" + merchantDishesId +
                ", dishesFoods=" + dishesFoods +
                ", nutrients=" + nutrients +
                '}';
    }
}
